PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


Theme Slider Indicator Direction Constants

You can use constants of type ThemeThumbDirection in the SliderTrackInfo structure to identify the direction in which the indicator points in a slider control. You may use these constants with either horizontal or vertical sliders, and the Appearance Manager interprets the direction of the indicator appropriately. The ThemeThumbDirection constants are available with Appearance Manager 1.1 and later.

enum {
    kThemeThumbPlain    = 0,
    kThemeThumbUpward   = 1,
    kThemeThumbDownward = 2
};
typedef UInt8 ThemeThumbDirection;

Constant descriptions

kThemeThumbPlain
A plain indicator; that is, one that does not point in any direction.
kThemeThumbUpward
For a horizontal slider, an upward-pointing indicator. For a vertical slider, a left-pointing indicator.
kThemeThumbDownward
For a horizontal slider, a downward-pointing indicator. For a vertical slider, a right-pointing indicator.

© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)